<?php
namespace api\modules\v1\resources;

/**
 * Class Comment
 *
 * @author Xuegui Yuan <yuanxuegui@163.com>
 */
class Comment extends \common\modules\comment\models\Comment
{

    public function fields()
    {
        return [
            'id',
            'parent_id',
            'reply_ids',
            'user_id',
            'user_nickname',
            'user_ip',
            'user_address',
            'object_type',
            'object_id',
            'level',
            'score',
            'content',
            'usable_count',
            'created_at'
        ];
    }
}
